Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process batch jobs grouped by email address #101

Merged
merged 1 commit into from
Nov 2, 2015

Conversation

martijnvermaat
Copy link
Contributor

We previously processed batch jobs round robin, i.e., one item
for each job per round. This is fair from the job point of view,
but not from the user point of view when one user has many jobs.

We now process batch jobs one item for each user per round,
where we pick the oldest job if a user has more than one. Users
are defined by their email address.

Batch jobs submitted via the webservices all have the same email
address, so they are effectively throttled as if all from the
same user. Adapting the webservices to also allow setting an
email address is future work.

We previously processed batch jobs round robin, i.e., one item
for each job per round. This is fair from the job point of view,
but not from the user point of view when one user has many jobs.

We now process batch jobs one item for each user per round,
where we pick the oldest job if a user has more than one. Users
are defined by their email address.

Batch jobs submitted via the webservices all have the same email
address, so they are effectively throttled as if all from the
same user. Adapting the webservices to also allow setting an
email address is future work.
martijnvermaat added a commit that referenced this pull request Nov 2, 2015
Process batch jobs grouped by email address
@martijnvermaat martijnvermaat merged commit 0cdefdd into master Nov 2, 2015
@martijnvermaat martijnvermaat deleted the schedule-by-email branch November 3, 2015 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant